// =====================================================================================
//  Copyright (C) 2024 by Jiaxing Shao. All rights reserved

//  文 件 名:  VertexBuffer.h
//  作    者:  Jiaxing Shao, 980853650@qq.com
//  创建时间：  2024-08-01 22:10
//  描    述:  
// =====================================================================================
#pragma once

class VertexBuffer {
public:
    VertexBuffer(const void *data, int size);
    ~VertexBuffer();

public:
    void       bind() const;
    void       unbind() const;
    int const &getSize() const;

private:
    int          m_bufferSize;
    unsigned int m_rendererId;
};
